<?php
return [
    'adminEmail' => 'admin@example.com',
    'supportEmail' => 'support@example.com',
    'user.passwordResetTokenExpire' => 3600,

    //极光配置
    'Jpush'  => [
        'app_key' => 'f2dde72ffdc76611b04f4147',
        'master_secret' => 'b5b2336c26b15c1baf113609',
    ],
	//QQ配置
	'Qq' => [
		'clientId' => 101265145,
		'clientSecret' => '9ce7a8e350cfac30bbc0c1cd7c359283',
	],
    //环信 配置
    'Emchat'  => [
        'client_id' => 'YXA6T9GTYIzMEeWKKy8XDyFoIQ',
        'client_secret' => 'YXA6C8SRWbn-uLtHXDYFdwuRdzSpeRM',
        'org_name' => '8888888889',
        'app_name' => 'edu',
    ],

    //文件服务器
    'FileServer' => [
        'url' => 'files.bwphp.com',
        'fileKey' => 'FKHa3l2UK43A3054aei-93IWwMdfeEfL',
    ],

    //视频服务器
    'VideoServer' => [
        'url' => 'videos.bwphp.com',
    ],

    //支付宝配置
	'alipay'=> [
       'alipay_config'=>[
           'partner'       =>'2088002075883504',//必填
           'key'           =>'y8z1t3vey08bgkzlw78u9cbc4pizy2sj',//必填
           'sign_type'     => strtoupper('MD5'),//必填
           'input_charset' => strtolower('utf-8'),//必填
           'cacert'        => getcwd().'\\cacert.pem',//必填且CA证书文件能有效访问，否则会有sign错误
           'transport'     =>'http',//如果你的服务器支持https请填写https
       ],
       'alipay'   =>[
           'seller_email'  =>'li1209@126.com',//必填
           'notify_url'    =>'http://www.bwphp.com/index.php/alipay/notify-url',
           'return_url'    =>'http://www.bwphp.com/index.php/alipay/return-url',//必填
           'successpage'   =>'account/list',//处理成功后的页面
           'errorpage'     =>'shopcart/list',//处理失败的页面
       ],
    ],
];
